package com.bstech.Utils;

import android.util.Base64;

public class Encoding {
	
	public static String ToBase64(byte[] bytes)
	{
		return Base64.encodeToString(bytes, Base64.DEFAULT) ;
	}
	public static byte[] FromBase64(String encoded)
	{
		return Base64.decode(encoded, Base64.DEFAULT);
	}
}
